import { useNavigate } from "react-router-dom";

export default function My() {
  const routre = useNavigate();

  return (
    <>
      <button onClick={() => routre("/home")}> home </button>
      <div>My</div>
    </>
  );
}
